I've seen how to grab the heading for an objects parent and grandparent, but how can I grab the heading of the object above an object? |
Re: displaying heading from object above 4.2 is the parent of 4.2.1., and 4.2.2 and 4.2.3 .... So as you write that you know how to grab the heading for an objects parent I don't understand your problem. Pierre |
Re: displaying heading from object above Anyway, I've since figured it out. |
Re: displaying heading from object above There is a "Object parent(Object)" perm that gets the hierarchy parent of an object. Your layout may look like this: if (obj is not a requirement) then halt // display nothing Object oParent = parent(obj) string HeadParent = probeAttr_(oParent, "Object Heading") if (!null HeadParent) displayRich (number(oParent) " \\b " HeadParent "\\b0 :") // Para Number, Bold on/off now display what you want from obj.
|
Re: displaying heading from object above |